<!DOCTYPE html>
<html>
<style type="text/css">
.foo {
    position: fixed;
    top: 30px;
    left: 60px;
}
</style>
<img class="foo" src="resources/red_square.png">
</html>